package com.hospicpc.demos.service;

import com.hospicpc.demos.entity.Messages;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lse
 * @since 2024-03-18
 */
public interface MessagesService extends IService<Messages> {


    void insertMessage(Integer userId, String messageId, String messageData, String createTime, String nickName);

    List<Messages> getMessagesLists(String userId);

    List<Messages> getMessages(String sendId, String userId);

    void isReadMessages(String sendId, String userId);
}
